package com.aaa.system.service;

import com.aaa.common.pojo.Permission;

import java.util.List;

/**
 * @program: education-parent
 * @description:
 * @author: 闫克起
 * @create: 2023-05-23 16:12
 **/
public interface PermissionService {

    public List<Permission> findByUserId(String userId);

    List<Permission> findAll();

    List<String> findByRoleId(String roleId);

    void confirm(String roleId, String[] checkPermissionIds);
}
